/*
 * @Author: wushengran
 * @Date: 2024-05-23 15:14:48
 * @Description: 
 * 
 * Copyright (c) 2024 by atguigu, All Rights Reserved. 
 */
#include "usart.h"
#include "led.h"
#include "systick.h"

int main(void)
{
	USART_Init();
	LED_Init();
	Systick_Init(1);

	while(1)
	{
	}
}

void Dri_SysTick_Callback(void){
	static uint16_t count = 0;
	count++;
	if(count == 1000){
		LED_Toggle(LED1);
		count = 0;
	}
}
